gtk+3.0.git
9 years agogtkwindow: Update shadow size on state change
Olivier Fourdan [Mon, 19 Sep 2016 14:11:54 +0000 (16:11 +0200)]
gtkwindow: Update shadow size on state change

Otherwise, with CSD, we could have a discrepancy where gtk uses the
right values for the shadows whereas the gdk backend still uses the old
values, leading in some cases to invalid or negative min size being
computed (which, in Wayland, leads a protocol error).

https://bugzilla.gnome.org/show_bug.cgi?id=771561

9 years agoGDK W32: Ignore autorepeated key presses on modifier keys
Jeremy Tan [Sat, 17 Sep 2016 12:46:30 +0000 (20:46 +0800)]
GDK W32: Ignore autorepeated key presses on modifier keys

The X11 backend does not send autorepeated messages for modifier keys,
and doing so prevents motion compression from working.

https://bugzilla.gnome.org/show_bug.cgi?id=771568

9 years agoGDK W32: Always process all available messages
Jeremy Tan [Sat, 17 Sep 2016 09:19:59 +0000 (17:19 +0800)]
GDK W32: Always process all available messages

The GLib main loop blocks on MsgWaitForMultipleObjectsEx to
determine if there are any incoming messages while also allowing
for background tasks to run. If all available messages are not
processed after MsgWaitForMultipleObjectsEx has signaled that
there are available, CPU usage will skyrocket.

From my limited understanding (by inspection of profiling
under Visual Studio):
Key is pressed - MsgWaitForMultipleObjectsEx unblocks, and
sends message to GDK's event handler. Some event is now queued.

g_poll unblocks, calls the g_event_dispatch which finally
resolves to gdk_event_dispatch. This then calls
_gdk_win32_display_queue_events, but since a message is already
queued, it fails to call PeekMessage and returns immediately.

At the next iteration, g_poll again calls MsgWaitForMultipleObjectsEx
which queues yet another event and returns almost immediately, since
there are events available which haven't been processed by PeekMessage.

The dispatch function is then called and the process repeats.

https://bugzilla.gnome.org/show_bug.cgi?id=771568

9 years agoUpdate British English translation
David King [Sun, 18 Sep 2016 12:12:06 +0000 (14:12 +0200)]
Update British English translation

9 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Sun, 18 Sep 2016 08:47:39 +0000 (08:47 +0000)]
Updated Kazakh translation

9 years agoGDK W32: Set is_modifier field in GdkKeyEvent
Руслан Ижбулатов [Sat, 17 Sep 2016 15:13:45 +0000 (15:13 +0000)]
GDK W32: Set is_modifier field in GdkKeyEvent

This hardcodes Control, Alt and Shift as modifier keys.

https://bugzilla.gnome.org/show_bug.cgi?id=602773

9 years agodocs: Update gtk_window_get_size()
Emmanuele Bassi [Sat, 17 Sep 2016 11:47:39 +0000 (12:47 +0100)]
docs: Update gtk_window_get_size()

The main corpus of the documentation for gtk_window_get_size() is still
full of X11-isms, so we should port it to something that is more
backend-agnostic. Additionally, having some examples would be nice for
application authors looking at a way to appropriately use this function.

9 years agoUpdated Greek translation
Tom Tryfonidis [Fri, 16 Sep 2016 13:43:18 +0000 (13:43 +0000)]
Updated Greek translation

9 years agoUpdated Galician translations
Fran Dieguez [Fri, 16 Sep 2016 08:34:20 +0000 (10:34 +0200)]
Updated Galician translations

9 years agoUpdated Swedish translation
Anders Jonsson [Thu, 15 Sep 2016 21:54:18 +0000 (21:54 +0000)]
Updated Swedish translation

9 years agoUpdated French translation
Claude Paroz [Thu, 15 Sep 2016 12:37:43 +0000 (12:37 +0000)]
Updated French translation

9 years agoEnsure drawing context is set
Emmanuele Bassi [Thu, 15 Sep 2016 09:05:05 +0000 (10:05 +0100)]
Ensure drawing context is set

If somebody decides to use gtk_widget_set_double_buffered() in the
middle of a draw() then there's the risk of calling end_draw_frame()
with an invalid pointer.

Some overeager compilers may warn about the double_buffered bit field
changing values and leading to a potentially uninitialized variable.

In order to avoid compiler warnings or crashes, we can simply store the
value of the double_buffered bit field at the beginning of the rendering
and use that instead of the actual bit field.

https://bugzilla.gnome.org/show_bug.cgi?id=771463

9 years agoUpdated Slovak translation
Dušan Kazik [Thu, 15 Sep 2016 09:15:48 +0000 (09:15 +0000)]
Updated Slovak translation

9 years agowidget: Only warn about missing allocation if G_ENABLE_DEBUG
Timm Bäder [Wed, 14 Sep 2016 22:06:54 +0000 (18:06 -0400)]
widget: Only warn about missing allocation if G_ENABLE_DEBUG

Not all occurrences of this warning can be fixed today, so put it behind
a G_ENABLE_DEBUG flag since it still shows legitimate problems even if
some of them are false positives.

9 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 14 Sep 2016 18:43:32 +0000 (20:43 +0200)]
Updated Spanish translation

9 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 14 Sep 2016 18:43:22 +0000 (20:43 +0200)]
Updated Spanish translation

9 years agoImplement gdk_screen_get_monitor_scale_factor generically
Matthias Clasen [Tue, 13 Sep 2016 14:45:06 +0000 (10:45 -0400)]
Implement gdk_screen_get_monitor_scale_factor generically

This was forgotten when the other screen monitor apis were
ported to GdkMonitor.

https://bugzilla.gnome.org/show_bug.cgi?id=771349

9 years agoUpdated Brazilian Portuguese translation
Rafael Fontenelle [Wed, 14 Sep 2016 05:13:58 +0000 (05:13 +0000)]
Updated Brazilian Portuguese translation

9 years agowayland: Move and resize popup after it was configured
Jonas Ådahl [Mon, 12 Sep 2016 10:46:44 +0000 (18:46 +0800)]
wayland: Move and resize popup after it was configured

A popup may have moved and resized when configured. Make sure every
layer knows about this and call gdk_window_move_resize() with the
configured dimension and position. This won't actually move the
window, but might resize it.

https://bugzilla.gnome.org/show_bug.cgi?id=771117

9 years agowayland: Transform moved_to_rect result properly
Jonas Ådahl [Mon, 12 Sep 2016 10:41:36 +0000 (18:41 +0800)]
wayland: Transform moved_to_rect result properly

The result of move_to_rect, received from the xdg_popup.configure
event, needs to be translated to the correct coordinate space; that is
from real parent window geometry to coordinates relative to the gdk
window set as transient-for.

https://bugzilla.gnome.org/show_bug.cgi?id=771117

9 years agowayland: Use helper to translate to real parent window geometry
Jonas Ådahl [Mon, 12 Sep 2016 10:39:06 +0000 (18:39 +0800)]
wayland: Use helper to translate to real parent window geometry

Use a helper to translate a coordinate from non-real GdkWindow parent
to window geometry coordinate space of the real GdkWindow parent,
meaning the coordinate space of the GdkWindow of the parent used as a
xdg_popup parent where (0, 0) is inside of the shadow margin.

https://bugzilla.gnome.org/show_bug.cgi?id=771117

9 years agowayland: Don't pass parent when creating dynamic positioner
Jonas Ådahl [Mon, 12 Sep 2016 10:24:50 +0000 (18:24 +0800)]
wayland: Don't pass parent when creating dynamic positioner

When using the dynamic positioner (i.e. positioning from move_to_rect)
we can always rely on having a proper transient-for to position
relative to, so lets drop the ignored parameter.

https://bugzilla.gnome.org/show_bug.cgi?id=771117

9 years agowayland: Don't pass transient-for when getting real parent
Jonas Ådahl [Mon, 12 Sep 2016 10:24:14 +0000 (18:24 +0800)]
wayland: Don't pass transient-for when getting real parent

It's always derived from transient-for so no need to pass it.

https://bugzilla.gnome.org/show_bug.cgi?id=771117

9 years agowayland: Fix south-west anchor rect calculation
Jonas Ådahl [Mon, 12 Sep 2016 07:01:24 +0000 (15:01 +0800)]
wayland: Fix south-west anchor rect calculation

https://bugzilla.gnome.org/show_bug.cgi?id=771117

9 years agowayland: Don't pass non-changing state when calculating popup rects
Jonas Ådahl [Mon, 12 Sep 2016 07:00:21 +0000 (15:00 +0800)]
wayland: Don't pass non-changing state when calculating popup rects

https://bugzilla.gnome.org/show_bug.cgi?id=771117

9 years agowayland: Move move_to_rect related code closer together
Jonas Ådahl [Mon, 12 Sep 2016 06:53:51 +0000 (14:53 +0800)]
wayland: Move move_to_rect related code closer together

Move the code used for calculating the result of move_to_rect
(final_rect, flipped_rect etc) closer to the other move_to_rect
functions (i.e. next to create_dynamic_positioner), and let the
xdg_popup configure handler just call the calculation function.

https://bugzilla.gnome.org/show_bug.cgi?id=771117

9 years agoUpdate Catalan translation
Jordi Mas [Tue, 13 Sep 2016 17:52:46 +0000 (19:52 +0200)]
Update Catalan translation

9 years ago[l10n] update Persian translations
Arash Mousavi [Tue, 13 Sep 2016 13:38:46 +0000 (18:08 +0430)]
[l10n] update Persian translations

9 years agoUpdated French translation
Charles Monzat [Tue, 13 Sep 2016 10:18:34 +0000 (10:18 +0000)]
Updated French translation

9 years ago3.21.6
Matthias Clasen [Tue, 13 Sep 2016 04:25:15 +0000 (00:25 -0400)]
3.21.6

9 years agoUpdated Galician translations
Fran Dieguez [Tue, 13 Sep 2016 09:09:41 +0000 (11:09 +0200)]
Updated Galician translations

9 years agoUpdated Czech translation
Marek Černocký [Tue, 13 Sep 2016 08:59:29 +0000 (10:59 +0200)]
Updated Czech translation

9 years agoUpdated French translation
Erwan Georget [Mon, 12 Sep 2016 21:30:41 +0000 (21:30 +0000)]
Updated French translation

9 years agoUpdated Lithuanian translation
Aurimas Černius [Mon, 12 Sep 2016 17:49:17 +0000 (20:49 +0300)]
Updated Lithuanian translation

9 years agoAdd more options to XGETTEXT_OPTIONS in Makevars
Piotr Drąg [Mon, 12 Sep 2016 17:46:09 +0000 (19:46 +0200)]
Add more options to XGETTEXT_OPTIONS in Makevars

9 years agoUpdated Finnish translation
Jiri Grönroos [Mon, 12 Sep 2016 17:27:09 +0000 (17:27 +0000)]
Updated Finnish translation

9 years agoUpdated Hungarian translation
Balázs Meskó [Mon, 12 Sep 2016 09:06:21 +0000 (09:06 +0000)]
Updated Hungarian translation

9 years agowayland: unmap popup along with its toplevel
Olivier Fourdan [Mon, 5 Sep 2016 15:53:38 +0000 (17:53 +0200)]
wayland: unmap popup along with its toplevel

If an application umaps the toplevel from its popup callback, this can
lead to a protocol error.

Make sure we mark popup parent and use that to check if their parent is
the toplevel being unmapped in which case we shall unmap the popup first
to avoid the protocol error.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=770906

9 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 12 Sep 2016 01:16:16 +0000 (03:16 +0200)]
Updated Danish translation

9 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 12 Sep 2016 01:13:53 +0000 (03:13 +0200)]
Updated Danish translation

9 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 12 Sep 2016 01:11:36 +0000 (03:11 +0200)]
Updated Danish translation

9 years agoUpdated Swedish translation
Anders Jonsson [Sun, 11 Sep 2016 19:44:01 +0000 (19:44 +0000)]
Updated Swedish translation

9 years agoUpdated Russian translation
Stas Solovey [Sun, 11 Sep 2016 18:20:55 +0000 (18:20 +0000)]
Updated Russian translation

9 years agoUpdated German translation
Mario Blättermann [Sun, 11 Sep 2016 17:00:23 +0000 (17:00 +0000)]
Updated German translation

9 years agoUpdated Polish translation
Piotr Drąg [Sun, 11 Sep 2016 16:55:25 +0000 (18:55 +0200)]
Updated Polish translation

9 years agoRedo focus handling in treeview once more
Matthias Clasen [Sun, 11 Sep 2016 15:47:55 +0000 (11:47 -0400)]
Redo focus handling in treeview once more

The fix for bug 767468 had some unintended side-effects. This is
an attempt at doing the same fix (don't grab focus when we are
grab-shadowed), while avoiding the breakage, by using GTK+'s
internal tracking for grab-shadowed-ness.

https://bugzilla.gnome.org/show_bug.cgi?id=770508

9 years agoAdd a --version option to gtk3-widget-factory
Matthias Clasen [Sun, 11 Sep 2016 15:21:19 +0000 (11:21 -0400)]
Add a --version option to gtk3-widget-factory

This was missing, for no good reason.

9 years agoAdd a --version option to gtk3-demo
Matthias Clasen [Sun, 11 Sep 2016 15:04:40 +0000 (11:04 -0400)]
Add a --version option to gtk3-demo

This was missing, for no good reason.

9 years agogtk-launch: Add help string for --version
Matthias Clasen [Sun, 11 Sep 2016 14:51:19 +0000 (10:51 -0400)]
gtk-launch: Add help string for --version

This was missing for no good reason.

9 years agoUpdated Hebrew translation
Yosef Or Boczko [Sat, 10 Sep 2016 20:43:57 +0000 (23:43 +0300)]
Updated Hebrew translation

9 years agoUpdated Slovak translation
Dušan Kazik [Sat, 10 Sep 2016 14:33:24 +0000 (14:33 +0000)]
Updated Slovak translation

9 years agoexamples: use G_DECLARE_FINAL_TYPE in applications
Mohammed Sadiq [Tue, 6 Sep 2016 17:56:22 +0000 (23:26 +0530)]
examples: use G_DECLARE_FINAL_TYPE in applications

G_DECLARE_FINAL_TYPE was introduced in glib 2.44.
We shall use that now so that lots of boilerplate code can
be reduced.

https://bugzilla.gnome.org/show_bug.cgi?id=770278

9 years agoUpdated Galician translations
Fran Dieguez [Fri, 9 Sep 2016 23:10:49 +0000 (01:10 +0200)]
Updated Galician translations

9 years agoplacesview: keep reference during network fetching
Christian Kellner [Mon, 5 Sep 2016 11:41:16 +0000 (13:41 +0200)]
placesview: keep reference during network fetching

Analogous to (un)mount operation, we now keep a reference around
during the ongoing operation and make use of the destroyed flag
to check if we are still alive or if we have been cancelled as
a result of the widget being destroyed.

https://bugzilla.gnome.org/show_bug.cgi?id=764979

9 years agoplacesview: override destory to cancel ongoing ops
Christian Kellner [Mon, 5 Sep 2016 11:19:29 +0000 (13:19 +0200)]
placesview: override destory to cancel ongoing ops

Since we hold on to a reference during (un)mount operations, we
don't trigger the cancellation of operations in finalize anymore.
Instead we now override the GtkWidget's destroy() and cancel any
ongoing operations there.

https://bugzilla.gnome.org/show_bug.cgi?id=764979

9 years agoplacesview: properly recover from cancellation
Christian Kellner [Sun, 4 Sep 2016 13:28:11 +0000 (15:28 +0200)]
placesview: properly recover from cancellation

The current code wrongly assumes that cancellation can only happen
as a result widget finalization, and consequentially does not
properly recover from it. Therefore if the operation is cancelled
as a result of user interaction, the entry is will stay disabled
and the spinner will keep spinning. This is fixed by removal of
the early bail out in case of cancellation.

https://bugzilla.gnome.org/show_bug.cgi?id=764979

9 years agoplacesview: hold onto ref during (un)mount ops
Christian Kellner [Sun, 4 Sep 2016 09:47:55 +0000 (11:47 +0200)]
placesview: hold onto ref during (un)mount ops

During mount and unmount opertions we keep a reference to the
GtkPlacesView around, so we have a valid view for the callback
code, even in the case that othe external references have been
dropped (i.e. the containing window gets destroyed).

https://bugzilla.gnome.org/show_bug.cgi?id=764979

9 years agogdkscreen-x11: Enable RandR on VirtualBox
Takao Fujiwara [Fri, 9 Sep 2016 16:54:13 +0000 (01:54 +0900)]
gdkscreen-x11: Enable RandR on VirtualBox

RandR 1.5 is enabled on VirtualBox guest of Fedora 25 but
XRROutputInfo->name is "default". If init_randr15() does not
return TRUE, the monitor size sets 0 because gdk_screen_get_width()
returns 0.

This problem causes GtkStatusIcon not to show the activate menu.

https://bugzilla.gnome.org/show_bug.cgi?id=771033

9 years agoUpdated Portuguese translation
Tiago Santos [Fri, 9 Sep 2016 16:59:19 +0000 (16:59 +0000)]
Updated Portuguese translation

9 years ago[l10n] update Persian translations
Arash Mousavi [Fri, 9 Sep 2016 13:56:04 +0000 (18:26 +0430)]
[l10n] update Persian translations

9 years agoUpdate Galician translations
Fran Dieguez [Thu, 8 Sep 2016 21:03:03 +0000 (23:03 +0200)]
Update Galician translations

Signed-off-by: Fran Dieguez <fran.dieguez@mabishu.com>
9 years agoUpdate Latvian translation
Rūdolfs Mazurs [Thu, 8 Sep 2016 18:18:24 +0000 (21:18 +0300)]
Update Latvian translation

9 years agoUpdated British English translation
Bruce Cowan [Thu, 8 Sep 2016 11:10:05 +0000 (11:10 +0000)]
Updated British English translation

9 years agogdkdisplay: Unref seats in finalize
Timm Bäder [Thu, 8 Sep 2016 09:18:16 +0000 (11:18 +0200)]
gdkdisplay: Unref seats in finalize

9 years agogdkdisplay-wayland: Fix some memory leaks
Timm Bäder [Thu, 8 Sep 2016 08:45:25 +0000 (10:45 +0200)]
gdkdisplay-wayland: Fix some memory leaks

9 years agoUpdated Swedish translation
Anders Jonsson [Thu, 8 Sep 2016 07:57:11 +0000 (07:57 +0000)]
Updated Swedish translation

9 years agoUpdated Brazilian Portuguese translation
Rafael Fontenelle [Tue, 6 Sep 2016 12:46:30 +0000 (12:46 +0000)]
Updated Brazilian Portuguese translation

9 years agoRevert "about dialog: Set a max-content-height on credits"
Tristan Van Berkom [Tue, 6 Sep 2016 12:29:03 +0000 (21:29 +0900)]
Revert "about dialog: Set a max-content-height on credits"

This reverts commit 6af5033386b60bdf71cc21d99d579c2a8c389880.

Scrolled window behavior of propagating child natural sizes
has now been made optional, so there is no need to work around
this by setting a hard coded maximum content height anymore.

9 years agoRevert "Add a release note for scrolled windows"
Tristan Van Berkom [Tue, 6 Sep 2016 12:09:26 +0000 (21:09 +0900)]
Revert "Add a release note for scrolled windows"

This reverts commit 76af90767634f5caea622c2abc13d21adb41550c.

The behavioral change described in the migration guide
has now been made optional with new scrolled window API,
so no need to mention this in the migration guide.

9 years agoRevert "widget factory: Adapt to new scrolled window behavior"
Tristan Van Berkom [Tue, 6 Sep 2016 11:23:20 +0000 (20:23 +0900)]
Revert "widget factory: Adapt to new scrolled window behavior"

This reverts commit 37e913d76bea6b58a38db1b7996958b81984a114.

This is no longer needed since the natural size propagation of
scrolled window children is now an optional behavior. Reverting
this also makes the widget factory scrolled window sizes behave
the same as with the gtk+ 3.20 branch.

9 years agocss: Complete the cross-fade implementation
Matthias Clasen [Tue, 6 Sep 2016 10:37:47 +0000 (06:37 -0400)]
css: Complete the cross-fade implementation

We need to actually compute the images. Otherwise,
bad things happen when we try to draw.

https://bugzilla.gnome.org/show_bug.cgi?id=767391

9 years agoFix whitespace
Matthias Clasen [Tue, 6 Sep 2016 10:21:06 +0000 (06:21 -0400)]
Fix whitespace

9 years agocss: Set meaningful fallback color
Matthias Clasen [Tue, 6 Sep 2016 10:16:40 +0000 (06:16 -0400)]
css: Set meaningful fallback color

This code was passing out-of-range values into
gdk_cairo_set_source_rgb, which cannot really make
anything better.

9 years agoUpdated Hebrew translation
Yosef Or Boczko [Tue, 6 Sep 2016 08:47:45 +0000 (11:47 +0300)]
Updated Hebrew translation

9 years agoUpdated Polish translation
Piotr Drąg [Mon, 5 Sep 2016 23:40:13 +0000 (01:40 +0200)]
Updated Polish translation

9 years agoUpdated Scottish Gaelic translation
GNOME Translation Robot [Mon, 5 Sep 2016 14:24:37 +0000 (14:24 +0000)]
Updated Scottish Gaelic translation

9 years agoUpdated Scottish Gaelic translation
GNOME Translation Robot [Mon, 5 Sep 2016 14:17:15 +0000 (14:17 +0000)]
Updated Scottish Gaelic translation

9 years agoGtkScrolledWindow: Bug 766569 - fix return types in added APIs
Tristan Van Berkom [Mon, 5 Sep 2016 07:08:27 +0000 (16:08 +0900)]
GtkScrolledWindow: Bug 766569 - fix return types in added APIs

In gtkscrolledwindow.c, the return type of _get_propagate_natural_width()
and _get_propagate_natural_height() were accidentally gint instead of
gboolean, fixed to match the type correctly declared in the header file.

9 years agogtk3-demo: Avoid underallocating columns
Matthias Clasen [Mon, 5 Sep 2016 01:45:31 +0000 (21:45 -0400)]
gtk3-demo: Avoid underallocating columns

Setting a fixed width on the columns causes the headers to be
be underallocated. It is not necessary either.

9 years agolabel: take padding into account when measuring
Matthias Clasen [Sun, 4 Sep 2016 19:38:43 +0000 (15:38 -0400)]
label: take padding into account when measuring

When doing height-for-width measurements, we need to take
padding into account. This was causing various allocation
errors.

https://bugzilla.gnome.org/show_bug.cgi?id=770849

9 years agolabel: Fix indentation
Matthias Clasen [Sun, 4 Sep 2016 19:38:00 +0000 (15:38 -0400)]
label: Fix indentation

Trivial, but annoying.

9 years agoUpdated Czech translation
Marek Černocký [Sun, 4 Sep 2016 19:22:08 +0000 (21:22 +0200)]
Updated Czech translation

9 years agorange: Ensure we don't underallocate the highlight gadget
Matthias Clasen [Sun, 4 Sep 2016 13:43:51 +0000 (09:43 -0400)]
range: Ensure we don't underallocate the highlight gadget

This was causing warnings in HighContrast.

https://bugzilla.gnome.org/show_bug.cgi?id=770614

9 years agoFix a variable name misspelling
Matthias Clasen [Sun, 4 Sep 2016 12:21:49 +0000 (08:21 -0400)]
Fix a variable name misspelling

No semantic change here; the misspelling just annoyed me.

9 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 4 Sep 2016 09:21:43 +0000 (12:21 +0300)]
Updated Lithuanian translation

9 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Sat, 3 Sep 2016 17:56:09 +0000 (17:56 +0000)]
Updated Kazakh translation

9 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Sat, 3 Sep 2016 17:55:38 +0000 (17:55 +0000)]
Updated Kazakh translation

9 years agoUpdated Korean translation
Changwoo Ryu [Sat, 3 Sep 2016 14:35:58 +0000 (14:35 +0000)]
Updated Korean translation

9 years agoUpdated Korean translation
Changwoo Ryu [Sat, 3 Sep 2016 14:35:32 +0000 (14:35 +0000)]
Updated Korean translation

9 years agolistbox: Select the last row on page down when there are few rows
Joaquim Rocha [Thu, 1 Sep 2016 11:25:23 +0000 (13:25 +0200)]
listbox: Select the last row on page down when there are few rows

When pressing page down doesn't retrieve a valid row (because the list
box has few rows), the last visible one should be selected instead.

https://bugzilla.gnome.org/show_bug.cgi?id=770703

9 years agolistbox: Avoid crashing on page down if the list has few rows
Joaquim Rocha [Thu, 1 Sep 2016 11:23:14 +0000 (13:23 +0200)]
listbox: Avoid crashing on page down if the list has few rows

The code always assumed that getting a row at a certain 'y' was
possible but if the list box has more empty space than rows then a
valid row may not be retrieved.

https://bugzilla.gnome.org/show_bug.cgi?id=770703

9 years agopopover: Skip first frame when transitioning
Timm Bäder [Sat, 3 Sep 2016 07:58:27 +0000 (09:58 +0200)]
popover: Skip first frame when transitioning

Similar to what we do in GtkStack.

9 years agoUpdated Finnish translation
Jiri Grönroos [Sat, 3 Sep 2016 09:16:40 +0000 (09:16 +0000)]
Updated Finnish translation

9 years agoAdwaita,HC: fix icon name
Jakub Steiner [Tue, 23 Aug 2016 11:11:48 +0000 (13:11 +0200)]
Adwaita,HC: fix icon name

- while we don't use steppers anymore, for some reason they are still
  defined in the theme and if you sacrifice a chicken and jump on one
  leg at full moon, you can enable them.

https://bugzilla.gnome.org/show_bug.cgi?id=769498

9 years agoUpdated German translation
Bernd Homuth [Fri, 2 Sep 2016 14:04:21 +0000 (14:04 +0000)]
Updated German translation

9 years agowayland: Warn when an application tries to map popup incorrectly
Jonas Ådahl [Fri, 2 Sep 2016 10:51:34 +0000 (18:51 +0800)]
wayland: Warn when an application tries to map popup incorrectly

When a popup is mapped but will not be the top most popup (for example
the parent is not the current top most popup, or if there already is a
popup mapped but the parent is a toplevel), warn and ignore it instead
of continuing, as continuing would be a protocol violation.

https://bugzilla.gnome.org/show_bug.cgi?id=770745

9 years agoUpdated Hungarian translation
Balázs Meskó [Fri, 2 Sep 2016 08:16:23 +0000 (08:16 +0000)]
Updated Hungarian translation

9 years agoUpdated Serbian translation
Мирослав Николић [Thu, 1 Sep 2016 16:14:09 +0000 (18:14 +0200)]
Updated Serbian translation

9 years agopopover: Propagate drawing
Timm Bäder [Thu, 1 Sep 2016 13:20:12 +0000 (15:20 +0200)]
popover: Propagate drawing

9 years agopopover: Fix hfw/wfh size request
Timm Bäder [Thu, 1 Sep 2016 13:16:58 +0000 (15:16 +0200)]
popover: Fix hfw/wfh size request

Since we're using _get_rect_coords in size-allocate when allocating the
size of the child widget, use the newly introduced _get_rect_for_size to
calculate the difference between the passed size_for and the one we're
supposed to pass on to the child widget.